package jp.sourceforge.akjrcp.dropsomething2;

import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.swt.widgets.Composite;

import jp.sourceforge.akjrcp.akj_betas.Akj_betasPlugin;

public abstract class DirectoryBasedDropSomething2 extends DropsomethingTab2{


	public   DirectoryBasedDropSomething2(Composite parent, int style,String key) {
		super(parent, style,key);
	}
	
	public   DirectoryBasedDropSomething2(Composite parent, int style) {
		this(parent, style,null);
	}



	
	
	
	//private FileOverwriteControler overwriteControl;
	/*
	 * Directory control
	 */
	
	
	public abstract IPreferenceStore getPreferenceStore();
	
	
	

	/*
	public boolean askOverwrite(File output){
		
		AskOverwrite ask=new AskOverwrite(overwriteControl,output);
		PlatformUI.getWorkbench().getDisplay().syncExec(ask);
		return ask.isOverwrite();
	}
	*/
	

	
/*
	public void initConvert(){
		if(getViewPart()==null){
			log.fatal("not set View Part in createTab()");
		}
		IViewSite viewSite = getViewPart().getViewSite();
		
		overwriteControl=new FileOverwriteControler(viewSite.getShell(),FileOverwriteControler.MODE_YES_YES_ALL_NO);//for easy
	}
	
	public void releaseConvert(){
		overwriteControl=null;
	}
	*/
}
